.
  Vyom World.com . Let's Touch the Sky Together!  
.

Home
VyomWorld.com Home
Interview Questions
VyomLinks.com Home
JobsAssist.com Home
Vyom Network
Contact Us
Jobs & Careers
Resume Submitter
Placement Papers
IT Companies Directory
Computer Jobs
Interview Questions
Online Exams
Vyom Career eMag.
Fun
Send FREE SMS!
SMS Jokes
Source Codes Library
Source Codes Home
ASP Source Codes
C Source Codes
C++ Source Codes
COBOL Source Codes
Java Source Codes
Pascal Source Codes
Submit Source Codes
GATE
GATE an Overview
GATE Preparation
Study Materal
GRE
GRE an Overview
GRE Questions
GRE Preparation
GRE Universities
TOEFL Preparation
TOEFL Resources
GMAT Preparation
GMAT Resources
MBA Preparation
MBA Resources
Networking Concepts
Networking Concepts
Testing Preparation
Testing Resources
Webmasters
Free Traffic Builder
Webmaster Articles
Web Hosting
Tutorials
Hardware Tutorial
1500 Free eBooks New!


Home » Placement Papers » Tata Infotech Placement Papers » Tata Infotech Previous Year Placement Paper

 

Tata Infotech Placement Paper -: Java Questions With Answers


Advertisements
Advertisements




Tata Infotech Previous Years Solved Sample Placement Papers

  1. How do you access the fourth element of an array named numbers?

    A: numbers[4];

    B: numbers(3);

    C: numbers[3];

    D: numbers.get(3);

    Ans: C
  2. Which of the following operators is used for concatenation of two strings?

    A: +

    B: *

    C: &

    D: +=

    Ans: A
  3. Which of the following creates a mutable string?

    A: String

    B: StringBuilder

    C: StringChar

    D: StringMutable

    Ans: B
  4. In Java, strings are:

    A: Primitive data types

    B: Immutable objects

    C: Mutable objects

    D: Arrays of characters

    Ans: B
  5. How do you find the length of a string named 'example'?

    A: example.size()

    B: example.length()

    C: example.getLength()

    D: example.len()

    Ans: B
  6. What is the result of the expression "Java" + "Programming"?

    A: JavaProgramming

    B: Java Programming

    C: Java-Programming

    D: JavaProgramming-

    Ans: A
  7. Which method is used to compare two strings for equality?

    A: ==

    B: equals()

    C: compare()

    D: isEqual()

    Ans: B
  8. Which class can create a string that is thread-safe?

    A: String

    B: StringBuffer

    C: StringBuilder

    D: StringSafe

    Ans: B
  9. What is the root class for all Java classes?

    A: Object

    B: Class

    C: Superclass

    D: Root

    Ans: A
  10. Which keyword is used to create an instance of a class?

    A: new

    B: return

    C: this

    D: create

    Ans: A
  11. Which keyword is used to inherit the properties and methods from another class?

    A: import

    B: package

    C: extends

    D: implements

    Ans: C
  12. Which keyword is used to refer to the current instance of a class?

    A: class

    B: this

    C: instance

    D: object

    Ans: B
  13. Which keyword in Java is used for importing packages into a program?

    A: import

    B: package

    C: include

    D: requires

    Ans: A




 


.

Recently Updated: New Placement Papers added.
Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | GRE Preparation | Jobs, Discussions | Software Listing | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | International Business Information | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | FAQs | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Excellent Mobiles | Software Testing | Interview Questions | Freshers Jobs | Server Insiders | File Extension Directory

Copyright ©2003-2025 Vyom Technosoft Pvt. Ltd., All Rights Reserved. Read our Privacy Policy